package com.dayu.gulimall.vo;

import lombok.Data;

import java.util.List;

/**
 * @author dayu
 * @version 1.0
 * @email dayu007@foxmail.com
 * @date 2020/12/29 21:50
 * @description
 */
@Data
public class SearchParam {

    //检索关键字v
    private String keyword;

    //分类id
    private Long catalog3Id;

    //排序条件v
    //sort =hotScore_asc/desc
    private String sort;

    //显示是否有货
    private Integer hasStock=1;

    //价格区间查询
    private String skuPrice;

    //品牌id v
    private List<Long> brandId;

    //按照属性进行筛选 v
    //attrs=1_1.5寸:8寸&2_16G:8G
    private List<String> attrs;

    // pageNum:1 from :0 size:5 查询的结果就是[1,2,3,4,5]
    // from =(pageNum-1)*pageSize
    private Integer pageNum=1;

    //url参数
    private String _queryString;



}
